Versions:

  • 0.25.1
  • 0.25.0
  • 0.1.25

shep is a process manager written in Rust and published by the shep-pm project. A single binary runs a daemon called the shepherd, which keeps a flock of long-running processes alive, restarts them when they die, captures what they print and reports plainly when something is wrong. Restarts can also be triggered by file changes, by a cron schedule or when a process exceeds a memory limit. The tool includes a terminal dashboard for observing the managed processes and can alert a webhook when a process misbehaves. On Windows, three functions are deliberately not available. The shep startup command is not built, because supervision at boot time on that platform requires a Service Control Manager service. Since no equivalent of a termination signal can be delivered to an arbitrary process there, shep stop waits for the full kill timeout of a process unless the application opts into the shepherd channel. The user and group fields of the Flockfile are refused permanently. Only shep.exe is placed on the PATH; the archive also contains shep-runtime.exe and shep-dev.exe, which are container entrypoint aliases without a desktop use case. The software belongs to the category of developer tools and system administration utilities, with tags for cli, daemon, process manager, rust and supervisor. Typical use cases are keeping web services, background workers and development servers running, restarting an application automatically after a crash or code change and collecting the output of several processes in one place. The current release of shep is version 0.25.1, and several versions are available in the catalog.

Tags: